//
//  MJQuizzesViewModel.h
//  MJ
//
//  Created by lina on 2017/12/11.
//  Copyright © 2017年 lina. All rights reserved.
//

#import <Foundation/Foundation.h>

@class MJQuestionsModel;
@interface MJQuizzesViewModel : NSObject

/** 测试题 */
+(void)requestQuizzesDataWithID:(NSString *)idString
                        Success:(void (^) (MJQuestionsModel *questions))requestSuccess
                        failure:(void(^)(NSError *error))requestFailure
                   netWorkState:(void (^) (BOOL netWorkState))netWorkState;

/** add测试题 */
+(void)requestAddQuizzesDataWithProblemID:(NSString *)idString
                                   Result:(NSString *)result
                                  Success:(void (^) (NSString *message))requestSuccess
                                  failure:(void(^)(NSError *error))requestFailure
                             netWorkState:(void (^) (BOOL netWorkState))netWorkState;

@end
